package com.sc.design.PK.create.fac_builder.builder;

/**
 * @author sc
 * Created on  2017/12/7
 */
public class Director {

    private static Builder abuilder = new AdultSuperMan();
    private static Builder youngbuilder = new YoungSuperMan();

    public static SuperMan getA(){
        return abuilder.create();
    }
    public static SuperMan getY()
    {
        return youngbuilder.create();
    }
}
